// 定义一些路由

// @ts-ignore
import Index from "../pages/Index.vue";
// @ts-ignore
import TeamPage from "../pages/TeamPage.vue";
import UserPage from "../pages/UserPage.vue";
import UserUpdatePage from "../pages/UserUpdatePage.vue";
// @ts-ignore
import UserTeamJoinPage from "../pages/UserTeamJoinPage.vue";
// @ts-ignore
import UserTeamLeadPage from "../pages/UserTeamLeadPage.vue"
// @ts-ignore
import UserRegisterPage from "../pages/UserRegisterPage.vue"
// @ts-ignore
import SearchPage from "../pages/SearchPage.vue";
// @ts-ignore
import SearchResultPage from "../pages/SearchResultPage.vue";
// @ts-ignore
import UserEditPage from "../pages/UserEditPage.vue";
// @ts-ignore
import UserLoginPage from "../pages/UserLoginPage.vue";
// @ts-ignore
import TeamAddPage from "../pages/TeamAddPage.vue";
// @ts-ignore
import TeamUpdatePage from "../pages/TeamUpdatePage.vue";
// @ts-ignore
import InitTagsPage from "../pages/InitTagsPage.vue";
// @ts-ignore
import UpdateTagsPage from "../pages/UpdateTagsPage.vue";


const routes = [
    { path: '/', title: '欢迎来到伙伴匹配系统', component: Index },
    { path: '/team', title: '与伙伴组队', component: TeamPage },
    { path: '/team/add', title: '创建新队伍', component: TeamAddPage },
    { path: '/team/update', title: '更新我的队伍', component: TeamUpdatePage },
    { path: '/user', title: '我的个人信息', component: UserPage},
    { path: '/search', title: '搜伙伴：输入或选择标签', component: SearchPage},
    { path: '/user/list', title: '搜索到以下伙伴', component: SearchResultPage},
    { path: '/user/edit', title: '', component: UserEditPage},
    { path: '/user/login', title: '伙伴匹配系统', component: UserLoginPage },
    { path: '/user/update', title: '点击修改信息', component: UserUpdatePage },
    { path: '/user/team/join', title: '我加入的队伍', component: UserTeamJoinPage },
    { path: '/user/team/lead', title: '我领导的队伍', component: UserTeamLeadPage },
    { path: '/user/register', title: '用户注册', component: UserRegisterPage },
    { path: '/user/init/tag', title: '初始我的标签', component: InitTagsPage },
    { path: '/user/update/tag', title: '更新我的标签', component: UpdateTagsPage },
]

export default routes;